<div class="copies view">
    <div class="actions specific">
	<ul>
		<li><?php echo $this->Html->link(__('Editar Copia', true), array('action' => 'edit', $copy['Copy']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Eliminar Copia', true), array('action' => 'delete', $copy['Copy']['id']), null, sprintf(__('Esta seguro que desea eliminar # %s?', true), date('d/m/Y', strtotime($copy['Copy']['date'])))); ?> </li>
	</ul>
    </div>
<h2><?php  __('Copia');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $copy['Copy']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Fecha'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php
                        $fecha = date('d/m/Y', strtotime($copy['Copy']['date']));
                        echo $fecha; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Detalle'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $copy['Copy']['detail']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Precio'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $copy['Copy']['price']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Llave'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($copy['Key']['mark'].' '.$copy['Key']['model'], array('controller' => 'keys', 'action' => 'view', $copy['Key']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>